FROM java:8
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 9090
ADD target/biwin-starter-0.0.1-SNAPSHOT.jar /biwin.jar
ENTRYPOINT ["java","-Dspring.profiles.active=prod", "-jar", "/biwin.jar"]